using System.Web;

namespace Kaleida.ServiceMonitor.Model.Email
{
    internal static class HtmlExtensions
    {
        internal static IHtmlString HtmlEncode(this string text)
        {
            return new HtmlString(HttpUtility.HtmlEncode(text));
        }

        internal static IHtmlString AsRawHtml(this string text)
        {
            return new HtmlString(text);
        }
    }
}